package com.xingxue.service.impl;

import com.xingxue.dao.LoginDao;
import com.xingxue.service.LoginService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * @author zgx at 2018/10/22 0022 上午 10:58
 */
@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    LoginDao loginDao;

    @Override
    public HashMap<String, Object> login(HashMap<String, Object> param) {
        return this.loginDao.login(param);
    }

    @Override
    public Integer updatePwd(HashMap<String,Object> param) {
        return this.loginDao.updatePwd(param);
    }
}
